﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp8
{
    class Lukasi:Hero
    {
        private int age;
        public Lukasi()
        {

        }
        public Lukasi(string nikename, string heroname, string heroinfo, int attack, int defend, int speed) :base(nikename, heroname, heroinfo, attack, defend, speed)
        {

        }
        public Lukasi(int age)
        {
            this.age = age;
        }
        public void Hello()
        {
            base.Hello();
            Console.WriteLine("年龄：{0}",this.age);
        }
        public void JSXJ()
        {
            Console.WriteLine("减速陷阱");
        }
        public void NLLC()
        {
            Console.WriteLine("能量浪潮");
        }
        public void XFJW()
        {
            Console.WriteLine("旋风剑舞");
        }
        public int Age
        {
            get { return age; }
            set {this.age = value;}
        }
    }
}
